package cn.ztr.ymcc.service.impl;

import cn.ztr.ymcc.domain.Employee;
import cn.ztr.ymcc.mapper.EmployeeMapper;
import cn.ztr.ymcc.service.IEmployeeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ztr
 * @since 2023-02-23
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    @Override
    public Employee getByLoginId(Long id) {
        return baseMapper.getByLoginId(id);
    }
}
